/**
 * 
 */
package com.shine.icis.dto;

/**
 * 封装HTML SELECT 元素OPTION内容
 * @author zsy
 *
 */
public class ReturnMsg {
	public static final  int CODE_ERROR = -1;
	public static final  int CODE_WARN =1;
	public static final  int CODE_SUCCESS = 0;
	
	private String text;
	private int code;
	public ReturnMsg(int code, String text) {
		this.code = code;
		this.text = text;
	}
	public ReturnMsg() {
		
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	
}
